report_matrix_size_error Subroutine

public subroutine report_matrix_size_error(err, fcn, varname, exprow, expcol, actrow, actcol)

Reports a matrix size error.

Arguments

Type IntentOptional Attributes Name
class(errors), intent(inout) :: err

The error handling object.

character(len=*), intent(in) :: fcn

The name of the function or subroutine in which the error occurred.

character(len=*), intent(in) :: varname

The offending variable name.

integer(kind=int32), intent(in) :: exprow

The expected number of rows.

integer(kind=int32), intent(in) :: expcol

The expected number of columns.

integer(kind=int32), intent(in) :: actrow

The actual number of rows.

integer(kind=int32), intent(in) :: actcol

The actual number of columns.


Variables

Type Visibility Attributes Name Initial
character(len=256), public :: msg